package com.ciaojian.store.model.vo;

import com.ciaojian.core.enums.business.OrderOrderTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;


/**
 * @author Atlakyn
 */
@Data
public class DataDashboardVO {
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "请选择开始时间")
    private Date startDate;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @NotNull(message = "请选择结束时间")
    private Date endDate;

    @ApiModelProperty("订单类型")
    @NotNull(message = "请选择订单类型")
    private OrderOrderTypeEnum orderType;

    @ApiModelProperty("店面")
    private Integer storeId;
}
